package project

import system.StaffMember

/*工时*/

class WorkingHours {
    /*单据创建人*/
    StaffMember creater
    /*日期*/
    Date riqi
    /*工时起时间--外包时填写*/
    Date beginTime
    /*工时止时间--外包时填写*/
    Date endTime

    /*创建时间  自动维护*/
    Date dateCreated
    /*最后更新的时间 自动维护*/
    Date lastUpdated
    static hasMany = [mx:WorkingHoursMx]
    static constraints = {
        beginTime nullable: true
        endTime nullable: true
        dateCreated nullable: true
        lastUpdated nullable: true
    }
}
